package com.naiterui.ehp.bs.cms.modules.agent.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 区域信息
 * @author yiren
 * @since 2022/2/10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ag_area")
public class AgArea extends BaseEntity implements java.io.Serializable {

    public static final int AREA_LEV_REGION = 1;
    public static final int AREA_LEV_PROVINCE = 2;

    /**
	 * 上级区域id
     */
    private Long parentId;
    /**
     * 区域名称
     */
    private String areaName;
    /**
     * 城市名称
     */
    private String cityName;
    /**
     * 区域级别 1:大区，2:省区
     */
    private Integer areaLev;
    /**
     * 状态(1:正常, 0:禁用)
     */
    private Integer status;

}
